// 负责所有全局自定义组件的注册
import PageTools from './pagetools'
import UploadExcel from './UploadExcel'
import ImageUpload from './ImageUpload'
import Print from 'vue-print-nb'
import ScreenFull from './ScreenFull'
import ThemePicker from './ThemePicker'
import LangSelect from './lang'
import TagsView from './TagsView'
export default {
   install(Vue) {
      // 组件的注册
      Vue.component('PageTools', PageTools)
      Vue.component('UploadExcel', UploadExcel)
      // 注册图片上传组件
      Vue.component('ImageUpload', ImageUpload)
      // 全屏组件
      Vue.component('ScreenFull', ScreenFull)
      // 颜色
      Vue.component('ThemePicker', ThemePicker)
      Vue.component('LangSelect', LangSelect)
      Vue.component('TagsView', TagsView)
      // 注册打印组件
      Vue.use(Print)
   }
}
// Vue.use()
